using System;
using System.Collections.Generic;
using System.Text;

namespace EventAbstractionAPI.ApplicationObjectModel
{
    public class Globals
    {

        #region Singleton Pattern

        // Explicit static constructor to tell C# compiler
        // not to mark type as beforefieldinit
        static Globals()
        {
        }

        Globals()
        {
        }

        public static Globals Instance
        {
            get
            {
                return _instance;
            }
        }

        #endregion

        #region Properties

        public myTreeNodeClass ApplicationNode
        {
            get { return _applicationNode; }
            set { _applicationNode = value; }
        }

        #endregion

        #region Member Variables

        static readonly Globals _instance = new Globals();
        myTreeNodeClass _applicationNode; 

        #endregion
    }
}